package com.small.nacos.client.naming;


import com.alibaba.nacos.api.exception.NacosException;
import com.alibaba.nacos.api.naming.pojo.Instance;

import java.util.List;


/**
 * @Author zhoujin
 * @Date 2022/7/20 21:18
 */
public interface NamingService {

    void registerInstance(String var1, String var2, Instance var3) throws NacosException;

    List<Instance> getAllInstances(String serviceName, String groupName,List<String> clusters) throws NacosException;

    void deregisterInstance(String serviceName, String groupName, Instance instance) throws NacosException;
}
